package com.spel.validate;

import com.spel.validate.enums.AssertTypeEnum;
import lombok.Data;

/**
 * @title: AssertExceptionCondition
 * @Author xu-xiang
 * @Date: 2024/1/31 17:36
 * @description:
 */
@Data
public class AssertExceptionCondition {

    /**
     * 若校验失败抛出
     */
    private Class<? extends RuntimeException> ifError;

    /**
     * 具体错误信息
     */
    private String errorMsg;

    /**
     * 断言类型
     */
    private AssertTypeEnum assertType;
}
